﻿using System.Data;
using MyWeb.Data;

namespace MyWeb.Business
{
	public class tblUSER_PROFILEService
	{
		private static readonly tblUSER_PROFILEDAL db = new tblUSER_PROFILEDAL();
		#region[tblUSER_PROFILE_GetById]
		public static DataTable tblUSER_PROFILE_GetById(string Id)
		{
			return db.tblUSER_PROFILE_GetById(Id);
		}
		#endregion
		#region[tblUSER_PROFILE_GetByAll]
		public static DataTable tblUSER_PROFILE_GetByAll()
		{
			return db.tblUSER_PROFILE_GetByAll();
		}
		#endregion
		#region[tblUSER_PROFILE_GetByTop]
		public static DataTable tblUSER_PROFILE_GetByTop(string Top, string Where, string Order)
		{
			return db.tblUSER_PROFILE_GetByTop(Top, Where, Order);}
		#endregion
		#region[tblUSER_PROFILE_Insert]
		public static void tblUSER_PROFILE_Insert(tblUSER_PROFILEInfo Data)
		{
			 db.tblUSER_PROFILE_Insert(Data);
		}
		#endregion
		#region[tblUSER_PROFILE_Update]
		public static void tblUSER_PROFILE_Update(tblUSER_PROFILEInfo Data)
		{
			 db.tblUSER_PROFILE_Update(Data);
		}
		#endregion
		#region[tblUSER_PROFILE_Delete]
		public static void tblUSER_PROFILE_Delete(string Id)
		{
			 db.tblUSER_PROFILE_Delete(Id);
		}
		#endregion
        #region[sptblUSER_PROFILE_CheckLogin]
        public static int sptblUSER_PROFILE_CheckLogin(string Username, string Password)
        {
            return db.sptblUSER_PROFILE_CheckLogin(Username, Password);
        }
        #endregion
	}
}